<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/dqm/knowledgebase/css/knowledge_detail.css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/dqm/knowledgebase/js/pager.js"></script>  
<script type="text/javascript" src="${pageContext.request.contextPath}/dqm/knowledgebase/js/knowledge_detail.js"></script>

<div class="easyui-tabs" style="width:auto;height:500px"> 
	<div title="基本信息" style="padding:0px;">
 	<form id="problem_deal_form" method="post"> 
	 	<table border="0" cellpadding="0" cellspacing="0" height="450px"  width="100%" class="listtable">
	 	
	 		<input type="hidden" value="${knowledge.knowledgeId}" id="knowledgeId"/>
	 		<input type="hidden" value="${knowledge.evaluate}" id="evaluate"/>
			<tr>    
			      <td style="text-align:right;height:35px;">知识名称：&nbsp;</td>
			      <td height="35px"><input type="text" id="kqiid" name="kqiid"  style="width:150px" readonly="readonly"  value="${knowledge.knowledgeName}"/></td>
			      <td style="text-align:right;height:35px;">知识作者：&nbsp;</td>
			      <td height="35px"><input type="text"  readonly="readonly" style="width:150px;" value="${knowledge.creator}"/></td>
     		</tr> 
     		<tr> 
			      <td style="text-align:right;height:35px;">知识来源：&nbsp;</td>
			      <td height="35px"><input type="text" id="kqiid" name="kqiid"  style="width:150px" readonly="readonly"  value="${knowledge.knowledgeSourceName}"/></td>
			      <td style="text-align:right;height:35px;">创建时间：&nbsp;</td>
			      <td height="35px"><input  type="text"  readonly="readonly" style="width:150px;" value="${knowledge.createTime}"/></td>
     		</tr> 
     		<tr>
			      <td style="text-align:right;height:35px;">一级知识类型：&nbsp;</td>
			      <td height="35px"><input type="text" id="kqiid" name="kqiid"  style="width:150px" readonly="readonly"  value="${knowledge.knowledgeOneTypeName}"/></td>
			      <td style="text-align:right;height:35px;">二级知识类型：&nbsp;</td> 
			      <td height="35px"><input type="text" readonly="readonly" style="width:150px;" value="${knowledge.knowledgeTwoTypeName}"/></td>
     		</tr>   
     		<tr>
			      <td style="text-align:right;height:35px;">知识评价：&nbsp;</td>
			      <td height="35px" colspan="3" id="evaluateTd">
			      	              <div class="star-detail">
									<ul>
										<li imgval="1"></li>
										<li imgval="2"></li>
										<li imgval="3"></li>
										<li imgval="4"></li>
										<li imgval="5"></li> 
									</ul>
								</div>
			      </td>
     		</tr>
    		<tr>
		      <td style="text-align:right;height:35px;">知识描述:&nbsp;</td>
		      <td height="80px" colspan="3">
		      	 <textarea  readonly="readonly"  style="width:90%;height:100px;">${knowledge.knowledgeDesc}</textarea> 
		      </td>    
     		</tr>  
     		<tr>
		      <td style="text-align:right;height:35px;">解决方案:&nbsp;</td>
		      <td height="80px" colspan="3"> 
		      	 <textarea  readonly="readonly"  style="width:90%;height:100px;">${knowledge.solution}</textarea> 
		      </td>    
     		</tr>  
		</table> 
 	</form>
  	</div>
    
    <div title="回复情况" style="padding:0px;">
		   <div style="height:200px;widht:99%;">   
	           <dl class="recom_list" id="replyContent"></dl>
			   <div style="width:100%;margin:0px;overflow:hidden;">
         		  <div id="pageNavigationDetail" style="margin-right: 10px;margin-top: 10px;"></div>
      		   </div>
				<div style="padding: 10px 15px;">
				<table border="0" cellspacing="0"  cellpadding="0">
					      <tr>
							<th colspan="2" style="width:16px;padding: 0;margin: 0"> 
								<input type="hidden" value="0" id="evaluateScore"/>
							    <span style="float:left;font-weight:bold;display:block;line-height:16px">评价:</span>
								<div class="star-control">
									<ul>
										<li imgval="1"></li>
										<li imgval="2"></li>
										<li imgval="3"></li>
										<li imgval="4"></li>
										<li imgval="5"></li> 
									</ul>
								</div>
								</th>
						</tr> 
						<tr>
							<th colspan="2"> 
								 <textarea  id="replyContentArea"  maxlength="100"  class="easyui-validatebox" data-options="required:false,validType:'length[0,100]'"  name="solution" style="width:760px;height:90px;resize:none;border-color: #95b8e7;margin-top:2px"></textarea>
							</th>
						</tr>  
						<tr>
							<th colspan="2" style="text-align:right;padding-right: 0px;padding-top: 5px;">
							   <input type="button" onclick="submitReply()" class="fbbtn" value="提 交 ">
							</th>
					</tr>
				</table>
				</div>
			</div>
       </div> 
     
	<div title="附件信息" style="padding:0px;">
	 	<div data-options="region:'center'" style="height:400px;widht:100%">   
	          <table id="table_datagrid" style="height:auto" >
			 </table> 
	      </div>  
	 </div>
	 <iframe id="fileDownFrame" src="" style="display:none; visibility:hidden;"></iframe>
</div>